<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/reset.css">
    <style>
        .wrapper_top {
            background-color: #242424;
            height: 69px;
        }

        .top_middle {
            display: flex;
            justify-content: space-between;
            width: 1100px;
            height: 69px;
            /*background-color: #dcdcdc;*/
            margin: 0 auto;
        }

        .wrapper_top .top_middle .top_middle_left {
            display: flex;
            line-height: 69px;
        }
        .wrapper_top .top_middle .top_middle_left .logo{
            background-image: url(./images/topbar.png);
        }
        .wrapper_top .top_middle .top_middle_left .logo a{
            display: block;
            width: 157px;
            padding-right: 15px;
            text-indent: -9999px;
        }
        .wrapper_top .top_middle .top_middle_left .list{
            display: flex;
        }
        .wrapper_top .top_middle .top_middle_left .list .item{
            display: block;
            font-size: 14px;
            padding: 0 20px;
            color: #ccc;
        }
        .wrapper_top .top_middle .top_middle_left .list .item:hover,
        .wrapper_top .top_middle .top_middle_left .list .item.activate{
            background-color: #000;
            color:#fff;
        }
        .wrapper_top .top_middle .top_middle_right{
            display: flex;
            align-items: center;
            padding-right: 20px;
        }
        .wrapper_top .top_middle .top_middle_right .login{
            line-height: 69px;
        }

        .wrapper_top .top_middle .top_middle_right .login a{
            color: #787878;
            font-size: 12px;
        }

        .wrapper_top .top_middle .top_middle_right .login:hover a{
            color: #ccc;
        }

        .wrapper_top .top_middle .top_middle_right .login a:hover {
            color: #787878;
            text-decoration: underline;
        }

        .wrapper_top .top_middle .top_middle_right .author {
            line-height: 69px;
        }

        .wrapper_top .top_middle .top_middle_right .author a {
            display: inline-block;
            font-size: 12px;
            color: #cccccc;
            margin: 0 10px;
            line-height: 32px;
            text-align: center;
            width: 90px;
            height: 32px;
            border: 1px solid #4f4f4f;
            border-radius: 20px;
            box-sizing: border-box;
        }
        .wrapper_top .top_middle .top_middle_right .author a:hover {
            color: #fff;
            border-color: #fff;
        }
        .wrapper_top .top_middle .top_middle_right .search{
            display: flex;
            justify-content: flex-end;
            align-items: center;
            padding-right: 10px;
            box-sizing: border-box;
            width: 158px;
            height: 32px;
            border-radius: 30px;
            background: #fff url(./images/topbar.png) 0 -99px;
        }

        .wrapper_top .top_middle .top_middle_right .search input{
            width: 120px;
        }
    </style>
</head>
<body>
<div class="wrapper_top">
    <div class="top_middle">
        <div class="top_middle_left">
            <h1 class="logo">
                <a href="#">网易云音乐</a>
            </h1>
            <ul class="list">
                <li><a href="#" class="item activate">发现音乐</a></li>
                <li><a href="#" class="item">我的音乐</a></li>
                <li><a href="#" class="item">关注</a></li>
                <li><a href="#" class="item">商城</a></li>
                <li><a href="#" class="item">音乐人</a></li>
                <li><a href="#" class="item">云推歌</a></li>
                <li><a href="#" class="item">下载客户端</a></li>
            </ul>
        </div>
        <div class="top_middle_right">
            <div class="search">
                <input type="text" placeholder="音乐/视频/电台/用户">
            </div>
            <div class="author">
                <a href="#">创作者中心</a>
            </div>
            <div class="login">
                <a href="#">登录</a>
            </div>
        </div>
    </div>
</div>
</body>
</html>